#ifndef C3POM_PLUGIN_LOG_H
#define C3POM_PLUGIN_LOG_H
#include"c3pom/c3pom.h"
REG_CLASS(log);
class log:public c3pom::Plugin
{
	private:
		c3pom::Portal* info;
		c3pom::Portal* warn;
		c3pom::Portal* error;
		std::ofstream f;
		std::string sinfo;
		std::string serror;
		std::string swarn;
	public:
		int load();
		int run(std::vector<std::string>);
		int stop(std::vector<std::string>);
		std::string getTimeofDay();
		log();
};
#endif
